package com.xsd.bridge;

/**
 * @Description: 手机
 * @Author: zhoufuzong
 * @Created: 2021-02-15 17:16:36
 * @Version: 1.1.0
 */

public abstract class Phone {
  private Brand brand;

   public Phone(Brand brand) {
      this.brand = brand;
   }

   protected void open(){
      this.brand.open();
   }

   protected void close(){
      this.brand.close();
   }

   protected void call(){
       this.brand.call();
   }
}
